Total Complexity | 19 |
Dependencies | 7 |
Dependents | 0 |
Total lines | 164 |
Lines of code | 102 |
Logical lines of code | 44 |
Comment lines | 44 |
Methods | 7 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
hasPermission() | 57 | 7 | 16 | |
validateData() | 57 | 5 | 18 | |
register_routes() | 47 | 1 | 47 | |
getSchemaJson() | 67 | 2 | 8 | |
escapeJsonString() | 77 | 2 | 3 | |
getSchemaObject() | 71 | 1 | 6 | |
add_additional_fields_schema() | 75 | 1 | 4 |